package EightXianCheng;

import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;

public class Arrayss {

	public static void main(String[] args) {
		List<Object> list = new ArrayList<Object>();
		list.add("one");
		list.add("two");
		list.add("three");
		ListIterator it = list.listIterator();
		while(it.hasNext()){
			Object o =it.next(); 
			if(o.equals("three")){
				list.remove("three");
			}
			System.out.println(it.next());
		}
		//System.out.println(list);
		
	}

}
